<include file="__THEME__/header" />
<script type="text/javascript" src="__PUBLIC__/js/jquery.form.js"></script>
<script type="text/javascript" src="{:U('weibo/plugins/init')}"></script>
<script type="text/javascript" src="__PUBLIC__/js/jquery.autocomplete.js"></script>


<div class="content"><!-- 内容 begin  --> 
  <include file="__THEME__/center_menu" />
  <div class="main">
    <div class="mainbox">
      <div class="mainbox_C">
        <div style="overflow:hidden;">
         
          <div class="tab-menu"><!-- 切换标签 begin  -->
           
            <ul>
              <li><a id="feed_colleague_item" rel="colleague" class="on feed_item" href="{:U('center/Myshop/index')}"><span>商品列表</span></a></li>
              <li><a id="feed_all_item" rel="all" class="feed_item" href="{:U('center/Myshop/add')}"><span>发布新商品</span></a></li>
            </ul>
          </div>
    
          <div class="feedBox">
            <div id="countNew"> </div>
            <php>if($goods){</php>
            <ul class="feed_list" 
            <eq name='type' value=''> id="feed_list"</eq>
            >
            <volist id="vo" name="goods">
              <li class="lineD_btm" id="list_li_{$vo.id}">
                <div class="goodsPic">
                  <php>if($vo[gimage]){</php>
                  <a href="{:U('shop/index/goods',array('uid'=>$vo['uid'],'gid'=>$vo['id']))}"><img src="__UPLOAD__/goods/s_{$vo[gimage]}"/></a>
                  <php>}else{</php>
                  <a href="{:U('shop/index/goods',array('uid'=>$vo['uid'],'gid'=>$vo['id']))}"><img src="__THEME__/images/no_image_s.gif" /></a>
                  <php>}</php>
                </div>
                <div class="feed_cgoods">
                  <div class="msgCnt">
                  <a href="{:U('shop/index/goods',array('uid'=>$vo['uid'],'gid'=>$vo['id']))}">{$vo['title']}</a>
                    </div>
                  <div class="feed_c_btm"> <span class="right">
                    <php>if( $vo['uid'] == $mid ){</php>
                    <a href="{:U('center/myshop/del',array('id'=>$vo['id']))}">删除</a>&nbsp;&nbsp;|&nbsp;&nbsp; <a href="{:U('center/myshop/edit',array('id'=>$vo['id']))}">编辑</a>
                    <php>}</php>
                    </span>
                    <cite>价格：{$vo['gprice']}&nbsp;&nbsp; 数量： {$vo['gnumber']} &nbsp;&nbsp; {$vo.utime|friendlyDate}</cite> </div>
                  <div id="comment_list_{$vo.id}" style=""></div>
                </div>
              </li>
            </volist>
            <php>}else{</php>
            <li class="lineD_btm" id="list_li_{$vo.feed_id}"> 
              <!--   动态显示方式   -->
              
              <div class="feed_c">
                <div class="msgCnt">
                  <p>暂无内容</p>
                </div>
              </div>
            </li>
            </ul>
            <php>}</php>
            <p>{$page}</p>
          </div>
        </div>
        <div class="c"></div>
      </div>
    </div>
  </div>
</div>
<!-- 内容 end --> 

<!-- 用@提到的人 begin-->
<div class="atwho" id="searchUser" style="display:none;">
  <dl>
    
    <!--
                <dd class="ucr">张小小</dd>
                <dd>张大妮</dd>
                <dd>冷大少</dd>
				-->
    
  </dl>
</div>
<!-- 用@提到的人 end --> 

<include file="__THEME__/footer" /> 